IdeaBlade.Core Assembly > IdeaBlade.Core.Reflection Namespace > TypeFns Class > ConstructGenericInstance Method : ConstructGenericInstance(Type,Type[],Object[]) Method |
'Declaration
Public Overloads Shared Function ConstructGenericInstance( _ ByVal genericType As Type, _ ByVal argTypes() As Type, _ ByVal ParamArray constructorParams() As Object _ ) As Object
'Usage
Dim genericType As Type Dim argTypes() As Type Dim constructorParams() As Object Dim value As Object value = TypeFns.ConstructGenericInstance(genericType, argTypes, constructorParams)
public static object ConstructGenericInstance( Type genericType, Type[] argTypes, params object[] constructorParams )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2